<!doctype html>
<html lang="en">
 <head>
  <meta charset="UTF-8">
  <meta name="Generator" content="EditPlus®">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
  <title>Document</title>
 </head>
 <body>
  
 </body>

 <script>
    function conversions (num) {
        return Math.floor(num / 24) + '天' + ( num % 24) + '小时'
    }
       document.write(conversions(89));
 </script>
</html>
